package com.yang.frost.blueberry.enums;

/**
 * @author 10296
 * @date 2021/1/25
 * @Description: 启用禁用状态枚举
 */
public enum StateEnum {
    /**
     * 禁用
     **/
    DISABLE(0, "禁用"),
    /**
     * 启用
     **/
    ENABLE(1, "启用");

    private Integer code;
    private String desc;

    StateEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
